BatchWrite<> Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Represents a strongly-typed object for writing/deleting a batch of items in a single DynamoDB table

Inheritance Hierarchy

System.Object
  Amazon.DynamoDBv2.DataModel.BatchWrite
    Amazon.DynamoDBv2.DataModel.BatchWrite<>

Namespace: Amazon.DynamoDBv2.DataModel
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class BatchWrite<> : BatchWrite

The BatchWrite<> type exposes the following members

Methods

  Name Description
Public Method AddDeleteItem(T)
Public Method AddDeleteItems(IEnumerable`1)
Public Method AddDeleteKey(object) Add a single item to be deleted in the current batch operation. Item is identified by its hash primary key.
Public Method AddDeleteKey(object, object) Add a single item to be deleted in the current batch operation. Item is identified by its hash-and-range primary key.
Public Method AddPutItem(T)
Public Method AddPutItems(IEnumerable`1)
Public Method Combine(BatchWrite[]) Creates a MultiTableBatchWrite object that is a combination of the current BatchWrite and the specified BatchWrites
Public Method Execute() Executes a server call to batch-write/delete the items requested. If more than 25 put/delete operations are specified, calls of up to 25 put/delete items will be made until all items are processed.
Public Method ExecuteAsync(CancellationToken) Initiates the asynchronous execution of the Execute operation.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5